package org.hope.db;

import java.util.List;

import org.hope.result.City;
import org.hope.result.Result;

public class RelationalSearchCordinator
{
	public List<Result> search( List<City> locations ) throws Exception
	{
		RelationalSearcher searcher = DBFactory.getSearcher( DBFactory.MYSQL_DB );
		return searcher.search( locations );
	}
	
	public void fillDetails( List<Result> results ) throws Exception
	{
		RelationalSearcher searcher = DBFactory.getSearcher( DBFactory.MYSQL_DB );
		searcher.fillDetails( results );
	}
}
